#include "StdAfx.h"

#include "ColorUtils/Color.h"
#include "FirstIntersectionResult.h"
#include "SecondIntersectionResult.h"

#include "Intersectable.h" // I know this is weird but what can I do...

SecondIntersectionResult::SecondIntersectionResult(FirstIntersectionResult_ptr first, const Color& color) : 
	FirstIntersectionResult(*first), ColorAtPoint(color), isReflacted(false)
{}

void SecondIntersectionResult::SetCoordinates(int x, int y)
{
	X = x;
	Y = y;
}

SecondIntersectionResult::SecondIntersectionResult() : ColorAtPoint(0, 0, 0), isReflacted(false){}
